An Efficient Algorithm for Recognizing the Forward-Branching Class of Term-Rewriting Systems
نویسندگان
چکیده
We present an algorithm for recognizing the forward-branching (FE) [Str89] class of term-rewriting systems. The algorithm is an improvement over a previous algorithm reported in [DS91] and [DS90] with a complexity proof in [Dur94]. The time comple)(ity of the algorithm ln [Dur94) is OC~:::, ln; l) but was reported to be O(('E; ln; l)2), and the space compl€Dty is O(('E; ln,l}2) . We improve on this result by giving an algorithm with both time and space complexity O('E, In;l) . Thus, in the normal case, where the size of each individual left-hand side is relatively small, the new algorithm is much more efficient. Since the quadratic behavior is caused by a set intersection operation that can be implemented with bit vectors, t he algorithm is very efficient in practice.
منابع مشابه
Eecient Parallel Execution and Transformation of Forward Branching Term Rewriting Systems
Sekar and al. found an eecient parallel reduction strategy for the class of path sequential term rewriting systems, which follow the constructor discipline. In this article, we present an overview of a parallel reduction strategy for the extended class of nonconstructor path sequential systems. We then deene formally this class and show some of its properties. Moreover, we give a transformation...
متن کاملEfficient Simulation of Forward-Branching Systems with Constructor Systems
Strongly sequential constructor systems admit a very eecient algorithm to compute normal forms. Thatte found a transformation that allows us to simulate any orthogonal system with a constructor system. Unfortunately, this transformation does not generally preserve strong sequentiality. On the other hand, the class of forward-branching systems contains the class of strongly sequential constructo...
متن کاملSimulating Forward-Branching Systems with Constructor Systems
Strongly sequential constructor systems admit a very eecient algorithm to compute normal forms. Thatte found a transformation that allows us to simulate any orthogonal system with a constructor system. Unfortunately, this transformation does not generally preserve strong se-quentiality. On the other hand, the class of forward-branching systems contains the class of strongly sequential construct...
متن کاملConstructor Equivalent Term Rewriting Systems are Strongly Sequential: A Direct Proof
In 8], Thatte demonstrated the possibility of simulating an orthogonal TRS with a left-linear constructor system obtained from the original system via a simple transformation. The class of strongly sequential systems (SS) was deened in 3]. In 2], we have deened the class of constructor equivalent systems (CE) for which Thatte's transformation preserves strong sequentiality; in that same article...
متن کاملCalculation of One-dimensional Forward Modelling of Helicopter-borne Electromagnetic Data and a Sensitivity Matrix Using Fast Hankel Transforms
The helicopter-borne electromagnetic (HEM) frequency-domain exploration method is an airborne electromagnetic (AEM) technique that is widely used for vast and rough areas for resistivity imaging. The vast amount of digitized data flowing from the HEM method requires an efficient and accurate inversion algorithm. Generally, the inverse modelling of HEM data in the first step requires a precise a...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997